import requests

f = open ("result.html", "w")
r = requests.get('https://www.kingofbupt.com/blog/')
r.encoding = 'utf-8'
f.write(r.text)
f.close()